package com.cheng.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cheng.admin.model.Order;
import com.cheng.common.domain.BaseSearchVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author 起凡
 * @since 2022-01-17
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {
    Order getOrder(Long id);
    List<Order> listOrder(BaseSearchVO baseSearchVO);
}
